export interface SchemeClassification{
     id:string
    classificationName:string
}
export enum SchemeType{
    EXERCISE="EXERCISE",
    TEST="TEST"
}

export enum TollgateType{
    CHINESE="CHINESE",
    ENGLISH="ENGLISH"
}
export enum SchemeStatus{
    PRIVATE="PRIVATE",
    AUDITING="AUDITING",
    PUBLIC="PUBLIC"
}
export interface Scheme{
    id:string
    schemeName:string
    schemeStatus?:SchemeStatus
    schemeType:SchemeType
    imagesrc:string

    maxAge?:number
    minAge?:number
    createTime:string

    // 是否收藏
    collection:boolean

    // 收藏数量
    collectionNum:number

    // 评分
    mark:number
    price?:number

    description:string
    chapterList:Chapter[]
}
export interface Chapter{
    id:string
    chapterName:string
    tollgateList:Tollgate[]
}
export interface Tollgate{
    id:string

    tollgateName:string

    tollgateType:TollgateType

    content:string

    icon:string

    maxPassTime:number

    maxPassError:number
    passScore:number
    commonSpeed:number
    minSpeed:number
    maxSpeed:number

    progress?:number

}
export interface SimpleScheme{
    id:string
    schemeName:string

    imagesrc:string

    description?:string

    collection?:boolean

    collectionNum?:number

    createTime?:Date

    mark?:number
}

export interface SchemeQueryParam{
    /** 分类id */
    cfId?:string

    /** 方案名 */

    schemeName?:string;

    /** 方案状态 */

   schemeStatus?:SchemeStatus;

    /** 方案类型 */

    schemeType?:SchemeType;

}